package com.zy.ems.utils.enums;

/**
 * 通用状态存储
 * 
 * @author wangfei
 *
 */
public enum StatusEnum {

    ENABLE(1, "启用"),
    DISABLE(0, "禁用");

    private StatusEnum(int code, String text) {
        this.code = code;
        this.text = text;
    }

    private int code = -1;

    private String text = "";

    public int getCode() {
        return code;
    }

    public String getText() {
        return text;
    }

}
